- 
		Home
	
 
	- 
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
 
- 
2.20.3
 
- 
Code
 
- 
Classes
 
-  CartService 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											35 | 
										
																			
											| Dependencies | 
											3 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											298 | 
										
																			
											| Lines of code | 
											165 | 
										
																			
											| Logical lines of code | 
											77 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											97 | 
										
																			
											| Methods | 
											17 | 
										
																			
											| Properties | 
											0 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 17
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| cartTemplate() | 
									S  | 
																	48 | 
													5 | 
													34 | 
							
					
				| bootstrap() | 
									S  | 
																	51 | 
													4 | 
													30 | 
							
					
				| addCartMenu() | 
									S  | 
																	62 | 
													6 | 
													10 | 
							
					
				| renderCartComponent() | 
									S  | 
																	54 | 
													3 | 
													25 | 
							
					
				| menuItemTemplate() | 
									S  | 
																	58 | 
													2 | 
													17 | 
							
					
				| removeDeprecatedCartContent() | 
									S  | 
																	66 | 
													3 | 
													8 | 
							
					
				| isMenuIconEnabled() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| getIconNameFromSettings() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getIcon() | 
									S  | 
																	74 | 
													1 | 
													4 | 
							
					
				| getSelectedIds() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getIconType() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| isAlwaysShown() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| isCartEnabled() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| getAlignment() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| getMode() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| getForm() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| isFloatingIconEnabled() | 
									S  | 
																	74 | 
													1 | 
													4 |